package com.tkc.controller.model.param;

import org.hibernate.validator.constraints.NotEmpty;

import com.tkc.common.ErrorCode;

/**
 * 
 * @Function: controller层的入参entity
 * 
 * @Project :assessmenttask 
 * @Package :com.tkc.controller.model.param 
 * @File :TeacherParam.java 
 * @ClassName: TeacherParam  
 * 
 * @author tankaichao 
 * @email cgztkc@126.com 
 * @Date 2016年8月9日下午5:50:14
 * @since JDK 1.8 
 *
 */
public class TeacherParam {
		
		//教师ID
		@NotEmpty(message = ErrorCode.ERR_CODE_20000)
		private String id;
		
		//姓名
		@NotEmpty(message = ErrorCode.ERR_CODE_20001)
		private String name;
		
		//登录密码
		@NotEmpty(message = ErrorCode.ERR_CODE_20002)
		private String password;
		
		//性别
		@NotEmpty(message = ErrorCode.ERR_CODE_20003)
		private String sex;
		
		//个人简介
		@NotEmpty(message = ErrorCode.ERR_CODE_20004)
		private String desc;
		
		//头像URL
		@NotEmpty(message = ErrorCode.ERR_CODE_20005)
		private String picUrl;
		
		//学校名称
		@NotEmpty(message = ErrorCode.ERR_CODE_20006)
		private String schoolName;
		
		//注册时间
		@NotEmpty(message = ErrorCode.ERR_CODE_20007)
		private String registDate;
		
		//备注
		@NotEmpty(message = ErrorCode.ERR_CODE_20008)
		private String remark;

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getPassword() {
			return password;
		}

		public void setPassword(String password) {
			this.password = password;
		}

		public String getSex() {
			return sex;
		}

		public void setSex(String sex) {
			this.sex = sex;
		}

		public String getDesc() {
			return desc;
		}

		public void setDesc(String desc) {
			this.desc = desc;
		}

		public String getPicUrl() {
			return picUrl;
		}

		public void setPicUrl(String picUrl) {
			this.picUrl = picUrl;
		}

		public String getSchoolName() {
			return schoolName;
		}

		public void setSchoolName(String schoolName) {
			this.schoolName = schoolName;
		}

		public String getRegistDate() {
			return registDate;
		}

		public void setRegistDate(String registDate) {
			this.registDate = registDate;
		}

		public String getRemark() {
			return remark;
		}

		public void setRemark(String remark) {
			this.remark = remark;
		}

		@Override
		public String toString() {
			return "TeacherParam [id=" + id + ", name=" + name + ", password=" + password + ", sex=" + sex + ", desc="
					+ desc + ", picUrl=" + picUrl + ", schoolName=" + schoolName + ", registDate=" + registDate
					+ ", remark=" + remark + "]";
		}

		
}
